package io.github.biezhi.elves.service;

import java.util.List;

import io.github.biezhi.elves.jmggzy.model.JmBiddingList;
import io.github.biezhi.elves.jmggzy.model.JmDownloadBiddingHtml;
import io.github.biezhi.elves.jmggzy.model.JmRecordBiddingNotice;

public interface JmggzyService {

	/**
	 * 保存佛山记录各个网址网址数据
	 * @param jmRecordBiddingNotice
	 */
	void saveJmRecordBiddingNotice(JmRecordBiddingNotice jmRecordBiddingNotice);

	/**
	 * 查看相同noticeDetailUrl条数
	 * @param noticeDetailUrl
	 * @return
	 */
	Integer countByUrl(String noticeDetailUrl);

	/**
	 * 根据公告类型和发布日期查询记录表
	 * @param noticeType
	 * @param pubdate
	 * @return
	 */
	List<JmRecordBiddingNotice> findRecordByNoticeTypeAndDate(String noticeType, String date);

	/**
	 * 保存JmDownloadBiddingHtml对象到t_download_jm表中
	 * @param jmDownloadBiddingHtml
	 */
	void saveJmDownloadBiddingHtml(JmDownloadBiddingHtml jmDownloadBiddingHtml);

	/**
	 * 查看相同noticeDetailUrl条数
	 * @param noticeDetailUrl
	 */
	Integer countByDownloadUrl(String noticeDetailUrl);

	/**
	 * 查询t_download_jm表所有数据
	 * @return
	 */
	List<JmDownloadBiddingHtml> listDownloadHtml();

	/**
	 * 新增jmbiddingList对象
	 * @param jmbiddingList
	 */
	void saveJmBiddingList(JmBiddingList jmBiddingList);

	/**
	 * 根据TabType查询JmDownloadBiddingHtml
	 * @return
	 */
	List<JmDownloadBiddingHtml> listDownloadHtmlByTabType(String tabType);

}
